Top Gun: Maverick director Joseph Kosinski returns with a science-fiction thriller.

Kosinski’s next movie is a science-fiction thriller calledSpiderhead, which will premiere on Netflix June 17.

SpiderheadstarsChris Hemsworthas Steve Abnesti, a scientist who tests drugs on convicts at a remote, state-of-the-art penitentiary.

Chris Hemsworth as Abnesti, Miles Teller as Jeff and Mark Paguio as Verlaine in Spiderhead

Chris Hemsworth as Abnesti, Miles Teller as Jeff and Mark Paguio as Verlaine in ‘Spiderhead’.Netflix

The twist: The drugs dramatically alter the moods and abilities of the inmates.

The problem: Not all of the emotions enhanced by Abnesti’s experiments are positive ones.

“He is the genius visionary behind the whole Spiderhead program,” Kosinski says of Hemsworth’s character.

“He has noble intentions, but there are some darker things lurking underneath the surface with him.”

The prisoners include Jeff, played by Kosinski’sTop Gun: MaverickcostarMiles Teller.

“Jeff works closely with, and sort of forms a friendship with, Abnesti,” says Teller.

He has a soft spot for Jeff, and I think their dynamic is really entertaining to watch."

FormerLovecraft CountrystarJurnee Smollettplays another inmate, Lizzy.

“She has a more mysterious past,” says the director.

Watch a clip fromSpiderhead, released as part of Netflix’s Geeked Week, below.

Want more movie news?