Under certain conditions you can extend your existing residence permit for the purpose of research